dir_now=$(dirname "$0")
cd $dir_now
pids=`ps aux|grep $dir_now|grep index.js|awk '{print $2}'`
echo $pids

if [ "$pids" != "" ]; then
    echo $pids 
else 
    react-native start&
fi
